Method and Device for Managing Information Exchange Between a Main Element, for Example a NFC Controller, and a Set of at Least Two Auxillary Elements

ABSTRACT

A device, including a main element (ME) and a set of at least two auxiliary elements (SEi), said main element including a master SWP interface (MINT), each auxiliary element including a slave SWP interface (SLINTi) connected to said master SWP interface of said NFC element through a controllably switchable SWP link (LK) and management means (PRM, CTLM, AMGi) configured to control said SWP link switching for selectively activating at once only one slave SWP interface on said SWP link.

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 15/335,636, filed Oct. 27, 2016, which application is a continuation of U.S. patent application Ser. No. 13/994,283, filed Sep. 6, 2013, now U.S. Pat. No. 9,515,701, which application is a National Stage entry of PCT Application No. PCT/EP2011/072474, filed on Dec. 12, 2011, which application claims priority to EP Patent Application Nos. 11305359.9, filed Mar. 30, 2011 and 10306416.8, filed Dec. 15, 2010, which applications are hereby incorporated herein by reference.

TECHNICAL FIELD

The invention relates to the communication between components or elements, in particular between a contactless element, for example a NFC (“Near Field Communication”) controller element and at least two auxiliary elements, such as a UICC or secure elements, for example located within a wireless apparatus, for example a mobile phone.

BACKGROUND

As defined within ETSI TR 102 216 V3.0.0 (2003 September), UICC which is neither an abbreviation nor an acronym, designates a smart card that conforms to the specifications written and maintained by the ETSI Smart Card Platform project.

Further to its conventional telephone function, a mobile phone may be used for exchanging information with a contactless device by using a contactless communication protocol.

This permits to exchange information between the contactless device and elements located within the mobile phone. Plenty of applications are thus possible such as mobile ticketing in public transport (the mobile phone acts as a boarding pass) or mobile payment (the mobile phone acts as a debit/credit payment card).

Near Field Communication or NFC is a short range high frequency wireless communication technology which enables such exchange of data between two contactless devices over a short distance, for example 10 centimeters.

NFC is an open platform technology standardized in ISO/IEC 18092 and ISO/IEC 21481 but incorporates a variety of pre-existing standards including ISO/IEC 14443 protocol type A and type B.

Mobile phone manufacturers are interested in connecting two different auxiliary elements to NFC chips. As a matter of fact, having two separate auxiliary elements allows two clearly separate applications coming from different issuers (banks, transport operators, telephone operators . . . ).

ETSI TS 102 613 is a standard disclosing in particular the principle of a so-called Single Wire Protocol (SWP). The SWP is a bit oriented point-to-point communication protocol between a contactless front end (CLF) also called a NFC controller, and a UICC. However, this single wire protocol as defined in ETSI TS 102 613 permits only the communication between one contactless element, for example one NFC controller and one UICC.

A first solution for managing information exchange between a NFC controller and two elements consists in providing a NFC controller with one SWP interface for secure elements based on SWP-UICC technology and a second interface (for example a NFC Wired Interface: NFC-WI) for proprietary secure elements. However, such solution makes the design of a NFC controller more complex as an additional interface has to be managed in a time critical environment.

A second solution consists in offering NFC controllers provided with two SWP interfaces. This solution would allow using of two secure elements provided with SWP-UICC technology but again, it will make the design of the NFC controller more complex as an additional interface has to be managed.

SUMMARY

According to an embodiment, a method and a device are proposed for managing in a simple way, information exchange between a contactless element such as NFC controller, and several (at least two) auxiliary elements by using the already existing hardware technology without any modification of the software on secure elements provided with SWP-UTCC technology.

According to an aspect, a method of managing information exchange between a main element, in particular a contactless element, for example a NFC element such as a NFC controller, and a set of at least two auxiliary elements is provided which comprises providing each auxiliary element with a slave SWP interface, providing said main element with a master SWP interface, connecting said slave SWP interfaces to said master SWP interface through a controllably switchable SWP link and controlling said SWP link switching for selectively activating at once only one slave SWP interface on said SWP link.

A slave SWP interface is considered to be activated when for example it is capable, after an activation phase including transmission of particular control data, to exchange information with the master interface on the SWP link related for example to a particular contactless application.

According to an embodiment, connecting said slave SWP interfaces to said master SWP interface through a controllably switchable SWP link comprises connecting a controllable multiplexer/demultiplexer switch between said master SWP interface and said slave SWP interfaces and controlling said SWP link switching comprises controlling said multiplexer/demultiplexer switch for switching the SWP link to said selected slave SWP interface.

According to an embodiment, said method further comprises forcing the part of the SWP link connected between each non-selected slave SWP interface and the multiplexer/demultiplexer switch in a deactivated state.

This permits for the non-selected slave SWP interface, to simulate the presence of the master element even if this master element is actually exchanging information with the selected slave interface.

Further, as the parts of the SWP link connected between each selected slave SWP interface and the multiplexer/demultiplexer switch are forced in a deactivated state, there is no risk that one of said non-selected slave SWP interface detects a non-working SWP link, while the selected slave SWP interface is active.

As a matter of fact, an auxiliary element cannot initiate SWP communication while SWP link is deactivated.

According to an embodiment, said method further comprises controlling said SWP link switching when the SWP link is in a deactivated state.

In other words, it is only possible to switch the SWP link to another auxiliary element when the SWP is deactivated. Thus, all auxiliary elements assume a deactivated SWP link and all auxiliary elements will not recognize any change on SWP link when SWP switching happens.

Activating said selected slave SWP interface may comprise performing an initial activation of said selected slave SWP interface or a subsequent activation of said selected slave SWP interface.

According to an embodiment, either all the auxiliary elements operate in a first operation mode, for example in a full power mode, or only one auxiliary element operates in a second operation mode, for example in a low power mode, having a power value lower than the power value of the first operation mode, while each other auxiliary element is OFF, and when said only one auxiliary element operates in a second operation mode, controlling said SWP link comprises forcing the SWP link switching into a predetermined configuration allowing the selection of said only one auxiliary element.

This permits to surely have a switching of the SWP link to said only one auxiliary element, even if the multiplexer/demultiplexer switch is not sufficiently powered.

According to another embodiment, either all the auxiliary elements operate in the first operation mode, or at least a first auxiliary element operates in the second operation mode, and when said first auxiliary element operates in a second operation mode, said first auxiliary element controls said SWP link switching for selecting only one auxiliary element operating in a second operation mode.

It is thus possible to have a more flexible configuration in the low power mode.

More particularly, a configuration indication may be stored in said first auxiliary element, and said first auxiliary element controls said SWP link switching by using said configuration indication.

While it is possible to store the configuration indication during the fabrication of the device, thus fixing a configuration by default for the low operation mode, it is particularly advantageous that for example the user of a wireless apparatus may decide himself the configuration in the low power mode.

And in this respect said configuration indication may be stored in said first auxiliary element when all the auxiliary elements operate in said first operation mode, for example through an user interface.

According to an embodiment said first auxiliary element operates in a second operation mode, said first auxiliary element controls the powering of each other auxiliary element in order to place each other auxiliary element in an OFF state, and said first auxiliary element controls said SWP switching for selecting said first auxiliary element operating in a second operation mode.

According to another embodiment said first auxiliary element operates in a second operation mode, said first auxiliary element controls the powering of a second auxiliary element in order to permit said second auxiliary element to operate in a second operation mode, and said first auxiliary element controls the SWP link switching for selecting said second element operating in a second operation mode.

Said first auxiliary element may control the powering of said second auxiliary element or each other auxiliary element by using said configuration indication.

According to another aspect, a device is proposed, comprising a main element and a set of at least two auxiliary elements, said main element including a master SWP interface, each auxiliary element including a slave SWP interface connected to said master SWP interface of said NFC element through a controllably switchable SWP link and management means configured to control said SWP link switching for selectively activating at once only one slave SWP interface on said SWP link.

According to an embodiment, the device comprises a controllable multiplexer/demultiplexer switch having a first terminal coupled to said master SWP interface through a first part of said SWP link and at least two second terminals respectively coupled to said at least two slave SWP interfaces through at least two second parts of said SWP link, and said management means comprise control means configured to control said multiplexer/demultiplexer switch.

Said control means may be advantageously located within said main element.

According to an embodiment, the device further comprises first forcing means configured to force each second part of the SWP link connected between each non selected slave SWP interface and the multiplexer/demultiplexer switch in a deactivated state.

According to an embodiment, said first forcing means comprise at least two pull-down resistors respectively connected between said at least two second parts of said SWP link and a reference voltage.

According to an embodiment, said management means comprise processing means configured to put said SWP link in a deactivated state, and said control means are configured to control said multiplexer/demultiplexer switch after said processing means have put the SWP link in said deactivated state.

Said management means may be configured to perform either an initial activation or a subsequent activation of said selected SWP slave interface.

According to an embodiment, the device has

a first state in which all the auxiliary elements are able to operate in a first operation mode, for example in a full power mode, and

a second state in which only one auxiliary element is able to operate in a second operation mode, for example in a low power mode, having a power value lower than the power value of the first operation mode, and each other auxiliary element is OFF, and

said device further comprises second forcing means configured, when said link switching into further comprises second forcing means device is in its second state, to force the SWP a predetermined configuration allowing the selection of said only one auxiliary element.

According to an embodiment, said second forcing means comprise another pull-down resistor connected between the control input of said multiplexer/demultiplexer switch and a voltage reference.

According to a variant the device has a first state in which all the auxiliary elements are able to operate in the first operation mode, and a second state in which at least a first auxiliary element is able to operate in the second operation mode and said device comprises auxiliary selection means at least partly incorporated in said first auxiliary element and configured, when said device is in its second state, to control said SWP link switching for selecting only one auxiliary element operating in a second operation mode.

According to an embodiment said auxiliary selection means comprises auxiliary memory means incorporated in said first auxiliary element for storing a configuration indication, and auxiliary control means configured to control the SWP link switching from said configuration indication.

Said auxiliary selection means may further comprise auxiliary input means configured to store said configuration indication is stored in said auxiliary memory means when the device is in its first state.

Said auxiliary selection means may be further configured, when said device is in its second state, to control the powering of each other auxiliary element in order to place each other auxiliary element in an OFF state, and to select said first auxiliary element operating in a second operation mode.

Said auxiliary selection means may be also configured, when said device is in its second state, to control the powering of a second auxiliary element in order to permit said second auxiliary element to operate in a second operation mode, and to select said second element operating in a second operation mode.

According to an embodiment said auxiliary selection means comprises auxiliary power control means configured to control the powering of said second auxiliary element or each other auxiliary element from said configuration indication.

According to an embodiment, one auxiliary element may be packed with said main element and another auxiliary element, for example a SIM card, may be removably connected to said main element.

Said main element may be a contactless element, for example a NFC controller.

According to another aspect, an apparatus, for example a wireless communication apparatus, is proposed comprising an antenna and a device as defined above, coupled to said antenna.

According to an embodiment, one auxiliary element may be permanently fixed within said apparatus and another auxiliary element, for example a SIM card, may be removably lodged within said apparatus and removably connected to said main element.

BRIEF DESCRIPTION OF THE DRAWINGS

Other advantages and features of the invention will appear on examining the detailed description of embodiments, these being no way limiting, and of the appended drawings in which:

FIG. 1 illustrates schematically an embodiment of a device according to the invention;

FIGS. 2 and 3 illustrate connections between a main element and auxiliary elements through a SWP link;

FIGS. 4, 5 a, 5 b illustrate diagrammatically examples of flow charts of several embodiments of a method according to the invention;

FIGS. 6-9 illustrate diagrammatically examples of frames used in embodiments of the present invention;

FIGS. 10 and ii illustrate diagrammatically other examples of flow charts related to initial and subsequent activations;

FIG. 12 illustrates diagrammatically an embodiment of a multiplexer-demultiplexer switch in the present invention;

FIGS. 13 and 14 illustrate diagrammatically embodiments of a wireless apparatus according to the invention; and

FIGS. 15 to 18 illustrate diagrammatically other embodiments of a method and a wireless apparatus according to the invention.

DETAILED DESCRIPTION OF ILLUSTRATIVE EMBODIMENTS

Embodiments of the invention will be now described in the technical field of contactless elements or components connected to secure elements, in particular embedded in a mobile phone, although the invention is not limited to these particulars embodiments.

A contactless element is an element or a component able to exchange information through an antenna with a contactless device according to contactless communication protocol.

A NFC element or component, which is a contactless element, is an element or component compliant with the NFC technology.

In FIG. 1, an example of a device DIS according to the invention is illustrated which comprises a contactless front end element ME, for example a NFC controller, having a SWP interface MINT.

The device comprises also here two auxiliary elements or secure elements. Each secure element SE1 (SE2) comprises a SWP interface SLINT 1 (SLINT 2). Each SWP interface SLINTi is connected to the same SWP interface MINT of the NFC controller ME through a controllably switchable SWP link LK.

A secure element is for example an element adapted to contain secure or protected information, for example banking information, information related to telephone subscription, among others.

Each SWP interface SLINTi comprises auxiliary management means AMGi while the SWP interface MINT of the NFC controller ME comprises processing means PRM.

The NFC controller ME is coupled to an antenna ANTI for exchanging information with a contactless reader by using a contactless communication protocol, for example the one disclosed in ISO/IEC 14443.

The Single Wire Protocol (SWP) is a bit oriented, point-to-point communication protocol between a secure element and a contactless front end, and is specified in the standard ETSI TS 102 613, for example the version V7.7.0 (2009 October) thereof. The man skilled in the art could refer if necessary to this document, the content thereof being incorporated by reference in the present patent application.

More precisely, as illustrated in FIG. 2, the NFC controller ME is the master whereas a secure element SE is a slave. The master and a slave are mutually connected through a SWP link LK.

A SWP link is a link or line adapted to support the Single Wire Protocol (SWP).

As disclosed in ETSI TS 102 613, the principle of the single wire protocol (SWP) is based on the transmission of digital information in full duplex mode. The signal S1 from ME to SE is transmitted by a digital modulation (L or H) in the voltage domain whereas the signal S2 from SE to ME is transmitted by a digital modulation (L or H) in the current domain.

When the master sends S1 as state H then the slave may either draw a current (state H) or not (state L) and thus transmits S2. With pulse width modulation bit coding of S1, it is possible to transmit a transmission clock, as well as data in full duplex mode. More details can be found in ETSI TS 102 613.

FIG. 3 represents an embodiment of the physical link between the contactless element ME and a secure element SE. More precisely, as illustrated in this figure and explained in ETSI TS 102 613, the contact C6 of the secure element is connected to the port SWIO of the contactless element ME for transmission of signal S1 and S2.

The SWP protocol specified in ETSI TS 102 613 permits only the communication between the master SWP interface of the contactless element and a single slave SWP interface of a single secure element.

According to an aspect of the invention which will be now described more in details, it will be possible to connect two or more than two auxiliary elements or secure elements SEi provided with a SWP-UICC technology to a single master SWP interface of a contactless element, for example a NFC controller.

More precisely, if we refer again to FIG. 1, this will be possible in particular by connecting a controllable multiplexer/demultiplexer switch SW between said master SWP interface MINT and said slave SWP interfaces SLINT1, SLINT2, and by controlling said switch SW by control means CTLM for switching the SWP link to the selected slave SWP interface.

Here, the processing means PRM, the control means CTLM and the auxiliary management means AMGi form management means configured to control the SWP link switching for selectively activating at once only one selected slave SWP interface on said SWP link.

The management means and the control means may be realized by software module and at least partly by logic circuit.

In the present embodiment, where only two auxiliary elements are used, the multiplexer/demultiplexer switch SW has a first terminal T1 coupled to said master SWP interface MINT though a first part LK1 of said SWP link LK and two second terminals T20 and T2 respectively coupled to said two slave SWP interfaces SLINT1, SLINT2 through two second parts LK20, LK21 of said SWP link.

Of course, although the parts LK1, LK20 and LK21 have been represented here by wires between the terminals T1, T20, T21 and the corresponding terminals of the SWP interfaces, these parts may be reduced to the minimum if for example the terminals T1, T20, T21 respectively meet the corresponding terminals of the SWP interfaces.

The switch SW further comprises a control terminal T3 connected to the control means CTLM for receiving a control signal SWCTRL for switching the first terminal T1 to either the second terminal T20 or the second terminal T21, depending on the logic value of the control signal.

For example, as illustrated in FIG. 1, if the control signal SWCTRL has the logic value “0”, the first terminal T1 is connected to the second terminal T20 while the first terminal T1 is connected to the second terminal T21 if the control signal SWCTRL has the logic value “1”.

As defined in ETSI TS 102 613, a SWP link may have an activated state, a suspended state and a deactivated state.

More precisely, in the activated state, the master element and the selected auxiliary element are sending bits.

In the suspended state, the signal S1 is in state H and the signal S2 is in state L.

In the deactivated state, the signal S1 is in state L and the signal S2 is in state L.

As it will be explained more in details thereafter, controlling the switch SW is only performed when the SWP link LK is in its deactivated state.

Further, when a secure element SE1 for example, has been selected, the part of the SWP link seen by the other non-selected secure element (SE2 for example), is advantageously in a deactivated state.

Placing such part of the SWP link in a deactivated state is equivalent to place the C6 contact of said corresponding non-selected secure element in a low state, typically at ground.

Resistors R20 and R21 respectively connected between the second terminal T20 and a voltage reference, for example ground, and between second terminal T21 and the voltage reference, are pull down resistors. And, the pull down resistor R20 permits to force the part LK20 of the SWP link in a deactivated state when the secure element SE2 has been selected while pull down resistor R21 forces the part LK21 of the SWP link in its deactivated state when the secure element SE1 has been selected.

Further, another pull down resistor R3 connected between the control input T3 and the voltage reference (ground, for example) permits to force the control input to the logical value “0” thereby forcing the switch in the predetermined configuration in which terminal T1 is connected to terminal T20, in the case the switch SWP is not sufficiently or not at all powered.

The value of each pull down resistor is chosen to have for example a current having a very small value, for example 5 μA or 10 μA.

We refer now more particularly to FIG. 4, which illustrates a particular embodiment of a method according to the invention.

After the master element boot, the processing means PRM of the master element put the SWP link in its deactivated state (step 400) in order to select (step 401) one secure element, for example secure element SE1. In this respect, the control signal SWCTRL has the logic value

Since the secure element SE1 has been selected, the part LK21 of the SWP link seen by the other non-selected secure element SE2 is forced to be in a deactivated state by the pull down resistor R21 (the signal S1 is pulled down to state L by the resistor R21).

Of course, as explained above, forcing the part of the SWP link seen by the non-selected secure element in its deactivated state is equivalent to force the potential of the C6 contact of said secure element to a low state (ground, for example).

Once the secure element SE1 has been selected, the management means (processing means and auxiliary management means) perform an initial SWP activation (step 402) of the corresponding slave SWP interface, as defined in ETSI TS 102 613.

Activating a slave SWP interface leads to place said slave SWP interface in an activated state. For example, activating a slave SWP interface comprises performing an activation phase during which control data are exchanged between the master interface and the slave interface. At the end of the activation phase, the master and the slave have been mutually “recognized” and the slave is ready to exchange payload information related to a particular contactless application with the contactless element. The slave interface is thus activated (or in an activated state).

Once initial SWP activation sequence is finished, the processing means of the main element ME put the SWP link into its suspended state, and wait for communication from the activated slave interface of the secure element.

If the conditions are fulfilled to deactivate the secure element, the processing means of the main element put the SWP link in its deactivated state (step 404). Such conditions are for example those detailed in point 8.3 of ETSI TS 102 613.

Now, the main element ME is able to switch the SWP link between the secure element SE1 and the secure element SE2 (step 406).

In this respect, the switch control SWCTRL takes the logic value “1”.

An initial SW activation (step 402) is performed for the secure element SE2, while the part LK20 of SWP link seen by the non-selected secure element SE1 is forced in its deactivated state by the pull-down resistor R20 (step 407).

For example, an event which can lead to an initial SWP activation of secure element SE2, which is for example a UICC, is the reception of a signal from the main processor.

Once initial SWP activation sequence is finished for the secure element SE2, the processing means of the main element ME put SWP link into its suspended state to wait for SWP communication from secure element SE2. If no activity is required on this interface, the processing means of the main element put the SWP link in its deactivated state (step 404).

If other secure element SE is to be activated, thus a new selection is performed followed by an initial activation of this new selected secure element (step 402).

If no other secure element is to be activated (step 405), the SWP link remains in its deactivated state.

At this stage, if a SWP communication with a secure element SEi is required (step 501) (upon, for example, reception of an external event coming from the application supported by this secure element), this secure element SEi is selected (step 502).

Of course, if the switch SWP is already in the configuration for selecting this secure element, no change is performed on the switch.

Then, a subsequent activation (step 504), as defined in ETSI TS 102 613, is performed for this secure element SEi, while the part of SWP link seen by each non-selected secure element SEj (contact C6 of each non-selected secure element SEj) is in its deactivated state (step 503).

Once the selected slave interface SLINT1 of the secure element SE1 has been activated (step 505), a SWP communication between the main element ME and this secure element SE1 may be performed (step 506) until the conditions are fulfilled allowing to deactivate the SWP link as for example described within chapter 8.3 of ETST TS 102 613, for example, until the reception of a signal named EVT_HCl_END_OF_OPERATION in ETSI TS 102 622 (step 507).

Such signal indicates the end of a communication with the secure element SEi.

After the conditions are fulfilled, the SWP link is put again in its deactivated state (step 508) by the processing means PRM of the main element SE.

If a new SW communication is required with the previously selected secure element SE1, thus, the control signal SWCTRL is not modified (step 510) and a subsequent activation (step 511) is performed for activating the slave interface SLINTi of this secure element SE1 (step 512) permitting thus the SWP communication with this secure element (Step 513).

If a SWP communication is required with a secure element SEj, different from the previously selected secure element SEi, then, this new secure element SEj is selected (step 514) by modifying the value of the control signal SWCTRL.

A subsequent activation (step 516) is performed for this new selected secure element SEj, while maintaining the contact C6 of each other non-selected secure element in a low state (step 515).

Once the slave interface SLINTj of this secure element SEj has been activated (step 517), a SWP communication between the main element ME and the secure element SEj may be performed (step 518).

An initial activation and a subsequent activation of a slave interface are disclosed in ETSI TS 102 613.

The man skilled in the art may refer to this standard if necessary.

Some details about these activations are now briefly described with reference to FIGS. 6-11.

According to ETSI TS 102 613, particular control frames, called ACT frames, are exchanged between the NFC controller ME and a secure element SE during an activation phase.

Such ACT frame, referenced CPR, is diagrammatically illustrated in FIG. 6.

More precisely, the first three bits of byte 1 of the frame CPR declare the SWP frame as an ACT frame. The FR bit indicates an eventually corrupted previously received ACT frame (only used by the NCF controller ME). The INF bit indicates that the last payload byte contains ACT INFORMATION field and the ACT CTRL bits b1 b2 b3 define the meaning of the ACT frame. After byte 1, 0-3 payload bytes follow, the content thereof depending of the content of ACT_CTRL and FR fields.

More precisely, when the bits b1 b2 b3 have respectively the binary values 000, the corresponding frame CFR1 is a so-called ACT_READY frame indicating that the secure element has been activated and is ready for exchanging information with the contactless element (FIG. 7).

When the bits b1, b2, b3 have respectively the binary values 001, the corresponding frame CFR2 is a so-called ACT_SYNC frame sent by a secure element and containing the identification SYNC_ID of this secure element (FIG. 8).

When the bits b1 b2 b3 have respectively the binary values 010, the corresponding frame CFR3 (FIG. 9) is a so-called ACT POWER MODE frame sent by the contactless element and indicating the power mode (full power or low power).

FIG. 10 is more particularly directed to an initial activation of a slave interface. An initial activation is performed in particular after the first powering up of the device or after a new powering up following a power interruption.

First, the SWTO signal (see FIGS. 2 and 3) which is in its low state L is set to its high state H by the NFC controller (state 80). The SWP link is in its suspended state.

In ETSI TS 102 613 a secure element which detects such state H on its contact C6 has a predetermined duration (700 μs) for resuming the SWP link.

The auxiliary management means of the slave interface of the secure element SE, which is the selected secure element, sends, after having resumed the SWP link, an ACT_SYNC frame CFR2 (step 83).

Then, the activation process continues depending on the power mode (step 85).

More precisely, the NFC controller ME sends an ACT_POWER_MODE frame CFR3 (step 86) in the case of a full power mode.

Upon receipt of this frame CFR3, the auxiliary management means of the selected secure element SE send an ACT READY frame CFR1 (step 87).

The SWP interface of the secure element SEn is thus considered as being activated.

If the power mode is a low power mode, the interface of the selected secure element SE is considered as being activated after step 83.

FIG. 11 illustrates diagrammatically a subsequent activation of secure element SE.

In step 91, the auxiliary management means of the secure element SE send on the link LK the ACT_SYNC frame.

The slave SWP interface of the secure element SE is thus considered to be subsequently activated.

FIG. 12 illustrates diagrammatically an embodiment of an analog multiplexer/demultiplexer switch SW allowing connection with two secure elements.

In this embodiment, the switch SW is a passive switch. It comprises, for example, two NMOS transistors TRA and TRB. The input control T3 of the switch SW is connected to the gate of transistor TRA and to the gate of transistor TRB through an invertor INV.

The terminal T20 of the switch SW is connected to one electrode (the drain, for example) of the transistor TRA, while the terminal T21 of the switch SW is connected to the electrode (the drain, for example) of transistor TRB.

The other electrode (the source, for example) of each transistor TRA and TRB are both connected to the terminal T1 of the switch SW.

It is also possible to use an active multiplexer/demultiplexer switch as for example the one available at the company STMicroelectronics under the reference STG5123.

Such an active multiplexer/demultiplexer switch which is a high-speed CMOS low voltage single analog SPDT (Single-Pole Double Throw) switch or 2:1 multiplexer/demultiplexer switch, has a lower resistivity and a lower input capacity.

As illustrated in FIG. 13 and in FIG. 14, the device DIS may be incorporated in a wireless apparatus WP such as a mobile phone. More precisely, the mobile phone comprises here conventionally a main processor (application or baseband processor) exchanging information with the secure element SE1, for example a UICC, of the device through signal CLK, RST, I/O compliant with ETSI TS 102 221 permitting thus the telephone functionality through the antenna ANT2.

The NFC controller ME is connected to the main processor through another bus, for example an I²C bus.

The secure element SE2 is for example used for banking operations.

The secure element SE2 is here totally embedded in an integrated circuit containing the NFC controller ME and is for example packed with said NFC controller in a single package SPCK.

While the secure element SE2 is thus permanently fixed within the apparatus WP, the secure element SE1 (UTCC) is removably lodged within the apparatus WP and removably connected to the NFC controller.

The NFC controller is powered by the voltage VPS_main coming from a power management unit PMU connected to a battery. The NFC controller is also directly connected to the battery.

At last, an antenna ANTI permitting an NFC communication with a contactless device is coupled to the NFC controller.

Information related to two different applications may be thus exchange between the secure elements SE1 or SE2 through the NFC controller and the antenna ANTI.

In both embodiments disclosed in FIGS. 13 and 14, the NFC controller ME may, in a full power operation mode, either select the secure element SE1 or the secure element SE2 through the switch SW for performing a SWP communication with selected secure element.

However in the embodiment disclosed in FIG. 13, in a low power mode (for example when the battery is off), the secure element SEi is powered by the NFC controller ME and SWP communication is only possible with this secure element SE1.

As a matter of fact, the secure element SE1 is connected to terminal T20 of the switch SW and, in a low power mode, the switch SW is forced by the pull down resistor R3 to be in a configuration where terminal T1 is connected to terminal T20.

As indicated above, the power Vcc of the secure element SE1 is delivered by the NFC controller.

In order to be compliant with ETSI TS 102 221 which requires the same power value between the main processor and the ETSI TS 102 221 interface of the secure element SE1, an additional signal Vref indicating the voltage value of the main processor is delivered to the NFC controller.

In the embodiment disclosed in FIG. 14, the secure element SE2 is powered by the NFC controller ME in low power mode and a SWP communication is only possible between the NFC controller and this secure element SE2 in low power mode.

In this respect, as in a low power mode, switch SW is forced by pull down resistor R3 into a configuration in which terminal T1 is connected to terminal T20, the secure element SE2 is connected to terminal 20 while secure element SE1 is connected to terminal T21 of the switch SW.

FIGS. 15 to 18 illustrate diagrammatically another embodiment of the present invention permitting for example the user of the wireless apparatus to choose which auxiliary element will be able to cooperate with the main element (NFC controller) in the low power mode, i.e. when the battery is off.

As for the embodiments illustrated in FIGS. 13 and 14, the device has a first state in which all the auxiliary elements are able to operate in a first operation mode, for example in a full power mode.

As it will be explained now more in details the device illustrated in FIG. 15 has a second state in which at least the secure element SE2 is able to operate in a second operation mode, for example in the low power mode.

Thus the device comprises auxiliary selection means at least partly incorporated in said secure element SE2 and configured, when said device is in its second state, to control said SWP link switching for selecting only one auxiliary element operating in a second operation mode, here the secure element SE2.

More precisely, the secure element SE2 is powered by Vcc1 provided by the NFC controller ME.

The contact C1 of the secure element SE1 is connected to the voltage Vcc provided by the main processor in the full power mode, and to the voltage Vcc1 through a PMOS transistor TRP. The gate of this transistor TRP is connected to Vcc1 through a pull-up resistor R4.

The gate of the transistor TRP is also connected to an input/output port I/O2 of the secure element SE2.

This port IO2 is also connected to a first input of a EXNOR gate LGT.

The second input of the EXNOR gate LGT is connected to the NFC controller for receiving the control signal SWCTRL in the first operation mode, and to the pull down resistor R3 to be forced to the logical value “0” in the second operation mode.

The output of the EXNOR gate LGT is connected to the control input of the switch SW.

Both EXNOR gate LGT and switch SW are powered by Vcc1, which is still available in the second operation mode.

The output terminal T20 of the switch is connected to the contact C6 of the secure element SE1, and the input terminal T1 of the switch is switched to the terminal T20 when the signal present at the control input of the switch has the logical value “1”.

The output terminal T21 of the switch is connected to the SWP interface of the secure element SE2, and the input terminal T1 of the switch is switched to the terminal T21 when the signal present at the control input of the switch has the logical value “0”.

The secure element comprises also auxiliary processing means PRA connected to auxiliary memory means MMA, to the port IO2 and to another input/output port I/O1. The auxiliary processing means may be realized by logic circuit and/or by software.

The main processor is also configured to receive from an user interface an indication designating the auxiliary element which is chosen to be able to cooperate with the main element (NFC controller) in the low power mode. This indication is processed by the main processor and sent to the NFC controller through the I²C bus, and then to the secure element SE2 during a SWP transaction in the full power mode. The auxiliary processing means PRA of the secure element are thus configured to store in the auxiliary memory means MMA a corresponding configuration indication CFI.

The main processor comprises also detection means configured to detect the passage from the first state of the device (full power operation mode) to the second state (low power operation mode) and to deliver a corresponding detection signal SDT to the port I/O1. For example this signal SDT is representative of the state ON or OFF of the main processor. For example, when the processor is ON, it sets the signal SDT to the logical value “1”, whereas the signal SDT is forced to the logical value “0” by a pull-down resistor RS when the processor is OFF.

The means PRA, MMA, DTM, TRP, LGT, R4 form here said auxiliary selection means.

The operation of the device in the first state (full power mode) is now described with reference to FIG. 16.

In this state, all the elements are fully powered by the battery.

The auxiliary control signal CTRLA, provided at the first input of the EXNOR gate LGT, has the logical value “1” due to the pull up resistor R4.

The transistor TRP is off and the secure element SEi is powered by the Vcc voltage delivered by the main processor.

The NFC controller ME may, in this full power operation mode, either select the secure element SE1 or the secure element SE2 through the switch SW for performing a SWP communication with selected secure element.

As a matter of fact, because the signal CTRLA has the logical value “1” the logical value of the control signal SWCTRL delivered by the NFC controller will be the logical value of the signal fed at the control input of the switch SW.

Further, as explained above, during this full power operation mode, the configuration indication CFI may be delivered to secure element SE2 and stored by the auxiliary processing means PRA in the auxiliary memory means MMA.

Reference is now made to FIG. 17, to illustrate the case where secure element SE2 is designated by the configuration indication CFI for cooperating with the NFC controller ME through the SWP link during the low power mode.

In the low power mode, the secure element SE2 is powered by the voltage Vcc1 provided by the NFC controller. As in the embodiments illustrated in FIGS. 13 and 14, the NFC controller is itself powered by the electromagnetic field received by the antenna ANTI during a NFC communication with a contactless device.

Upon receipt of the detection signal SDT having the logical value “0”, the auxiliary processing means PRA read the configuration indication CFI stored in the auxiliary memory means and deliver the control signal CTRLA having here the logical value “1”.

Further the control signal SWCTRL is forced to the logical value “0” by the pull down resistor R3.

Consequently, the EXNOR gate LGT powered by Vcc1, delivers a logical value “0” to the control input of the switch SW also powered by Vcc1, allowing the selection of the secure element SE2.

It should be noted here that, in this non-limitative particular embodiment, the transistor TRP is off and thus the secure element SE1 is not powered.

Reference is now made to FIG. 18, to illustrate the case where secure element SE1 is designated by the configuration indication CFI for cooperating with the NFC controller ME through the SWP link during the low operation mode.

In the low power mode, the secure element SE2 is powered by the voltage Vcc1 provided by the NFC controller.

Upon receipt of the detection signal SDT having the logical value “0”, the auxiliary processing means PRA read the configuration indication CFI stored in the auxiliary memory means and deliver the control signal CTRLA having here the logical value “0”.

Consequently the transistor TRP is ON and the secure element SE1 is also powered by the voltage Vcc1.

Since the control signal SWCTRL is forced to the logical value “0” by the pull down resistor R3, the EXNOR gate LGT powered by Vcc1, delivers a logical value “1” to the control input of the switch SW also powered by Vcc1, allowing the selection of the secure element SE1.

It should be noted here that the secure element SE1 is powered before being selected by the switch SW due to the delay introduced by the EXNOR gate LGT.

The means PRA, MMA, TRP, R4 form also auxiliary power control means configured to control the powering of secure element SE1 and SE2 from said configuration indication.

Of course, as both secure elements SE1, SE2 are powered in the low power operation mode, the part LK21 of SWP link seen by the non-selected secure element SE2 is forced in its deactivated state by the pull-down resistor R21.

According to an aspect of the invention, it is thus possible to exchange information between a main element and two auxiliary elements through a controllable multiplexer/demultiplexer switch without modifying the operating system of the secure element. Further, only a small modification of the operating system of the NFC controller is needed for controlling the analogue multiplexer/demultiplexer switch SW.

Although different embodiments of the invention have been disclosed with two secure elements, other embodiments including more than two secure elements connected to the master SWP interface through a multiplexer/demultiplexer switch SW are also possible.

Further although the analogue switch SW has been located outside the main element and the slave elements, it would be possible to integrate the switch (and eventually the EXNOR gate) within the single package SPCK or directly within the main element. In such a case the outputs of the main element would be for example the terminals T20 and T21 of the switch, and terminal T1 of the switch would be connected to the processing means of the master interface within said main element. 

What is claimed is:
 1. A near field communication (NFC) controller, comprising: a single wire protocol (SWP) port configured to exchange information with a first secure element or a second secure element external to the NFC controller via an SWP communications link; a control circuit configured to modulate communication of the NFC controller with one of the first secure element or the second secure element via the SWP communications link; and a control port coupled to the control circuit and configured to provide a control signal indicative of whether the NFC controller is to communicate with the first secure element or the second secure element via the SWP communications link.
 2. The NFC controller of claim 1, further comprising a switch, wherein the control signal is configured to cause the switch to couple the SWP port to the first secure element or the second secure element.
 3. The NFC controller of claim 2, wherein the switch comprises a multiplexer.
 4. The NFC controller of claim 2, wherein the SWP port, the control circuit, and the control port are disposed on a first substrate, wherein the switch is disposed on a second substrate, and wherein the first substrate and the second substrate are disposed in a single package.
 5. The NFC controller of claim 2, wherein the SWP port, the control circuit, the control port, and the switch are integrated within a single element.
 6. The NFC controller of claim 1, wherein the SWP port is an only SWP port of the NFC controller.
 7. The NFC controller of claim 1, wherein the control circuit is configured to determine, and wherein the control circuit is configured to generate the control signal based on a determination, by the control circuit, of whether the NFC controller is to communicate with the first secure element or the second secure element via the SWP communications link.
 8. The NFC controller of claim 1, wherein the control signal is configured to cause the SWP port to couple to the first secure element and to decouple from the second secure element.
 9. The NFC controller of claim 1, wherein the control signal is configured to enable the SWP communications link between the NFC controller and the first secure element and to disable the SWP communications link between the NFC controller and the second secure element.
 10. The NFC controller of claim 1, wherein the SWP communications link between the NFC controller and the first secure element comprises an SWP communications channel between the NFC controller and a subscriber identification module (SIM) card.
 11. The NFC controller of claim 1, wherein the SWP communications link between the NFC controller and the second secure element comprises an SWP communications channel between the NFC controller and a universal integrated circuit card (UICC).
 12. A near field communication (NFC) controller, comprising: a first terminal configured to be coupled to an antenna for exchanging information with a contactless reader via a contactless communication protocol; a second terminal configured to communicate with at least one secure element via a single wire protocol (SWP) communications channel; and a third terminal configured to provide a control signal to a switch, wherein the control signal is configured to cause the switch to enable the SWP communications channel between the NFC controller and a first secure element and to disable the SWP communications channel between the NFC controller and a second secure element.
 13. The NFC controller of claim 12, wherein the control signal is configured to cause the switch to electrically couple the second terminal of the NFC controller to a SWP communications terminal of the first secure element and to electrically decouple the second terminal of the NFC controller from a SWP communications terminal of the second secure element.
 14. The NFC controller of claim 12, wherein at least one of the first secure element or the second secure element comprises a smart card conforming to a European Telecommunications Standards Institute (ETSI) standard.
 15. The NFC controller of claim 12, wherein the second terminal is a single and only port of the NFC controller configured to communicate, via the SWP, with the first secure element or the second secure element.
 16. The NFC controller of claim 12, further comprising the switch.
 17. A near field communication (NFC) controller, comprising: an antenna terminal; a single wire protocol (SWP) communications terminal, the NFC controller having only one SWP communications terminal; an NFC SWP multiplexer control terminal; and integrated circuitry coupled to the antenna terminal, the SWP communications terminal, and the NFC SWP multiplexer control terminal.
 18. The NFC controller of claim 17, wherein the integrated circuitry comprises a controller coupled to the NFC SWP multiplexer control terminal, and wherein the controller is configured to generate a control signal that causes the NFC controller to communicate with one of a first secure element or a second secure element via the SWP communications terminal.
 19. The NFC controller of claim 18, wherein the controller is configured to determine whether the NFC controller is to communicate with the first secure element or the second secure element via the SWP communications terminal.
 20. The NFC controller of claim 18, wherein the SWP communications terminal is coupled to a multiplexer, and wherein the control signal is configured to cause the multiplexer to couple the SWP communications terminal and one of the first secure element or the second secure element and to decouple the SWP communications terminal and another of the first secure element or the second secure element.
 21. The NFC controller of claim 20, wherein the antenna terminal, the SWP communications terminal, the NFC SWP multiplexer control terminal, and the multiplexer are integrated within the NFC controller.
 22. The NFC controller of claim 20, wherein the antenna terminal, the SWP communications terminal, and the NFC SWP multiplexer control terminal are disposed on a first substrate, wherein the multiplexer is disposed on a second substrate.
 23. The NFC controller of claim 17, wherein the antenna terminal is coupled to an antenna configured to exchange information with a contactless reader using a contactless communications protocol. 